package com.zqxq.lottery.service.sys.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.zqxq.lottery.service.sys.ISysBannerService;
import com.zqxq.lottery.entity.po.sys.SysBannerPO;
import com.zqxq.lottery.mapper.sys.SysBannerMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Service
@Slf4j
public class SysBannerServiceImpl extends ServiceImpl<SysBannerMapper,SysBannerPO> implements ISysBannerService {


    @Override
    @Transactional
    public void updateClientNum(Long id, Integer num) {
        this.baseMapper.updateClickNum(num, id);
    }
}
